package web;

import model.User;

import com.opensymphony.xwork2.Action;

/**
 * Class for main action in web application.
 * @author Andre Melo
 * @author Marcus Leite 
 * @author Sergio Danilo
 *
 */
public class MainAction extends BLMSAction {

	private static final long serialVersionUID = -3468656592923096915L;
	
	private User user;
		
	/**
	 * Constructor.
	 * @return Success or fail in creation.
	 */
	public String main() {
		return Action.SUCCESS;
	}

	/**
	 * Get the current user.
	 * @return The current user.
	 */
	public User getUser() {
		return user;
	}

	/**
	 * Set the current user.
	 * @param user The current user.
	 */
	public void setUser(User user) {
		this.user = user;
	}
	
}
